<script src="/plugins/WalkerTool/js/WalkerTool.js"></script>

<div id="plugins_WalkerTool" style="display:none;">
	<table class="table" style="width:auto;">
		<tr>
			<td style="width: 250px;">
				种子卫星:
			</td>
			<td >
			</td>
		</tr>
		<tr>
			<td >
				<label class="labelInput plugins_WalkerTool_targeted" value="" data-bind="html:targeted.html, valueUpdate: 'input'"></label>
			</td>
			<td >
				<input type="button"  value="选择…" data-bind="click:function(data, event){$root.selectEntity(event.currentTarget,'plugins_WalkerTool_targeted');}">
			</td>
		</tr>
		<tr>
			<td >
				<table>
					<tr>
						<td class="textRight" style="width: 145px;">
							星座类型:
						</td>
						<td>
							<select data-bind="options:WalkerTypes, value:WalkerType, optionsText:'name', optionsValue:'value'" title="
							星座类型(Delta,Star,Custom),缺省为:Delta
							Delta: 各轨道面的RAAN在0°-360°内均布
							Star: 各轨道面的RAAN在0°-180°内均布
							Custome: 用户指定轨道面RAAN的间隔，相邻轨道面首颗卫星的真近点角的间隔">
							</select>
						</td>
					</tr>
					<tr>
						<td class="textRight">
							轨道面数量:
						</td>
						<td>
							<input type="text" data-bind="value:NumPlanes, valueUpdate: 'input'" placeholder="1-999">
						</td>
					</tr>
					<tr>
						<td class="textRight">
							每个轨道面的卫星数:
						</td>
						<td>
							<input type="text" data-bind="value:NumSatsPerPlane, valueUpdate: 'input'"  placeholder="1-999">
						</td>
					</tr>
					<tr>
						<td class="textRight">
							相位因子:
						</td>
						<td>
							<input type="text" data-bind="value:InterPlanePhaseIncrement,attr:{'disabled':WalkerType=='Custom'}, valueUpdate: 'input'" title="
							相位因子(WalkerType为Delta或Star时有效)，缺省为:1
							最大不能等于或超过轨道面数量，例如，轨道面数量为4，则此值最大为3
							相位因子的单位为轨道槽(slot)。slot的定义是360度除以卫星的总数。
							相邻轨道面首颗卫星，东侧的领先西侧的相位"
							>
						</td>
					</tr>
					<tr>
						<td class="textRight">
							真近点角增量:
						</td>
						<td>
							<input type="text" data-bind="value:InterPlaneTrueAnomalyIncrement,attr:{'disabled':WalkerType!='Custom'}, valueUpdate: 'input'" placeholder="0°-360°" title="相邻轨道面的真近点角增量(deg)(星座类型为Custom时有效)" dataValue="DDegree">
						</td>
					</tr>
					<tr>
						<td class="textRight">
							升交点赤经增量:
						</td>
						<td>
							<input type="text" data-bind="value:RAANIncrement,attr:{'disabled':WalkerType!='Custom'}, valueUpdate: 'input'" placeholder="0°-360°" dataValue="DDegree" title="相邻轨道面的升交点赤经增量(deg)(星座类型为Custom时有效)">
						</td>
					</tr>
				</table>
			</td>
			<td style="vertical-align: top;padding-left: 20px;">
				<span class="ctable-title">设置</span>
				<table class="ctable " style="width: 200px;">
					<tr>
						<td style="width: 70px;">
							创建对象:
						</td>
						<td>
							<select data-bind="options:WalkerCreateTypes, value:WalkerCreateType, optionsText:'name', optionsValue:'value'">
							</select>
						</td>
					</tr>
					<tr data-bind="visible:WalkerCreateType=='group'">
						<td>
							分组名称:
						</td>
						<td>
							<input type="text" data-bind="value:groupName, valueUpdate: 'input'" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="checkbox" data-bind="checked:colorByPlane">根据轨道面设置颜色
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="checkbox" data-bind="checked:showPath">显示轨迹
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr >
			<td colspan="3" style="text-align: center;">
			<span class="draw-bt " data-bind="click:$root.compute" ><i class="fa  fa-fw fa-crosshairs "  style="color:#ffa243;font-size: 18px;"></i><span class="plugins_WalkerTool_bt">计算</span></span>
			</td>
		</tr>
	</table>
</div>